//后台接口
module.exports = app => {
  const { router, controller } = app;
  // router.get('/', controller.home.index);
  //登录
  router.post('/api/login', controller.home.login);
  //房源
  router.post("/api/getlist", controller.home.getlist);
  //直播
  router.post("/api/tableData", controller.home.tableData);
  //团购
  router.post("/api/shoplist", controller.home.shoplist);
  //删除
  router.post("/api/dellist", controller.home.dellist);
  //搜索
  router.post('/api/search', controller.home.search);
  //新增
  router.post('/api/addlist', controller.home.addlist);
  //筛选
  router.post('/api/screening1', controller.home.screening1);
};
